﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_Admin.aspx.cs" Inherits="TLTuan.Admin.Login_Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Trang đăng nhập</title>
    <link type="text/css" href="../Style/loginAdmin.css" rel="Stylesheet"/>
    <style type="text/css">
    .style1 {
	    font-size: 36px;
	    font-weight: bold;
    }
    </style>
</head>
<body>
    <form method="post" name="frmlogin" id="frmlogin" action="" runat="server">
    <table width="95%" style="height:512;" align="center" class="loginTable">
        <tr>
            <td>
                <table width="57%" align="center">
                    <tr>
                        <td align="center" class="title1" colspan="2">
                            <span class="style1">Website Administrator System</span>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%" align="right">
                            <asp:Label runat="server" ID="lbl_username" CssClass="label_text">Username</asp:Label>
                        </td>
                        <td width="70%">                            
                                <asp:TextBox  id="txtUser" runat="server" Width="225px"/>  <br />
                                <asp:RequiredFieldValidator ID="required" ControlToValidate="txtUser" 
                                ErrorMessage="Bạn chưa điền uesrname" runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>                          
                        &nbsp;&nbsp;                            
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label runat="server" ID="lbl_pssWord" CssClass="label_text">Password</asp:Label>
                        </td>
                        <td>
                            <asp:TextBox TextMode="Password" width="225px" id="txtPass" runat="server"/> <br />
                            <asp:RequiredFieldValidator ID="rePss" ControlToValidate="txtPass" runat="server" 
                            ErrorMessage="Bạn chưa điền password" SetFocusOnError="true"></asp:RequiredFieldValidator>                             
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <label>
                                <asp:Button Text="Đăng nhập" id="cmd_login" runat="server" onclick="cmd_login_Click" 
                               />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button type="reset" Text=" Nhập lại " id="cmd_reset" runat="server" onclick="cmd_reset_Click" 
                                />
                            </label>
                        &nbsp;&nbsp;</td>
                    </tr>
                    <tr>
                        <td height="27" align="center" colspan="2">
                        <asp:Label ID="lbl_error" Visible="false" runat="server" Text="" CssClass="lbl_error"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
